package tinybase.rm;
import tinybase.pf.PageNum;

public class RM_FileHdr {
	private int firstFree;     // first free page in the linked list
	private  int recordSize;        // fixed record size
	private   int numRecordsPerPage; // # of records in each page
	private   int pageHeaderSize;    // page header size
	private   int numRecords;        // # of pages in the file
	public void setFirstFree(int firstFree){
		this.firstFree=firstFree;
	}
	public void setRecordSize(int recordSize){
		this.recordSize=recordSize;
	}
	public void setNumRecordsPerPage(int numRecordsPerPage){
		this.numRecordsPerPage=numRecordsPerPage;
	}
	public void setPageHeaderSize(int pageHeaderSize){
		this.pageHeaderSize=pageHeaderSize;
	}

	public void setNumRecords(int numRecords){
		this.numRecords=numRecords;
	}

	public int getNumRecordsPerPage(){
		return this.numRecordsPerPage;
	}
	public int getRecordSize() {
		return recordSize;
	}



}
